<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Migration_Table_Userinfo_AddColumn_Prov_Dist extends CI_Migration
{
    public function up()
    {
        $fields = array(
            'prov' => array('type' => 'varchar', 'constraint' => 16, 'null' => true),
            'dist' => array('type' => 'varchar', 'constraint' => 16, 'null' => true),
        );
        $this->dbforge->add_column('user_info', $fields);
    }

    public function down()
    {
        $this->dbforge->drop_column('user_info', 'prov');
        $this->dbforge->drop_column('user_info', 'dist');
    }
} 